extends AnimatedSprite2D

func _ready() -> void:
	modulate.a=0.5

func _on_animation_finished() -> void:
	var tween=create_tween()
	tween.tween_property(self,"modulate:a",0.0,0.2)
	await tween.finished
	queue_free()
